package com.point.travelaiagent.LLMStrategy;

import org.springframework.ai.chat.model.ChatModel;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component("qwenModelStrategy")
public class QwenModelStrategy implements ChatModelStrategy {

    private final ChatModel dashscopeChatModel;

    public QwenModelStrategy(@Qualifier("dashscopeChatModel") ChatModel qwenChatModel) {
        this.dashscopeChatModel = qwenChatModel;
    }

    @Override
    public ChatModel getChatModel() {
        return dashscopeChatModel;
    }

    @Override
    public String getModelType() {
        return "qwen";
    }
}
